use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub(crate) struct ComponentV2rayDnsSetting {
    pub(crate) servers: Vec<String>,
}

impl Default for ComponentV2rayDnsSetting {
    fn default() -> Self {
        ComponentV2rayDnsSetting {
            servers: vec!["localhost".to_string()],
        }
    }
}